/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.life.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import javax.validation.constraints.NotNull;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 组织生活分类管理Entity
 * 
 * @author ygl
 * @version 2017-08-30
 */
public class OrganizeLifeType extends DataEntity<OrganizeLifeType> {

	private static final long serialVersionUID = 1L;
	private String typename; // 分类名称
	private String sort; // 排序
	private String remark; // 备注
	private String column5; // column_5
	private String hasChildren;// 是否还有子类
	private String orgId;// 组织ID
	private String classificationId;// 分类Id
	private String check; // 张福宁自用，判断类型是否选择
	private String organizationName;//组织名称

	public String getOrganizationName() {
		return organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}

	public String getClassificationId() {
		return classificationId;
	}

	public void setClassificationId(String classificationId) {
		this.classificationId = classificationId;
	}

	public OrganizeLifeType() {
		super();
	}

	public String getHasChildren() {
		return hasChildren;
	}

	public void setHasChildren(String hasChildren) {
		this.hasChildren = hasChildren;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public OrganizeLifeType(String id) {
		super(id);
	}

	@Length(min = 1, max = 64, message = "分类名称长度必须介于 1 和 64 之间")
	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	@Length(min = 0, max = 11, message = "排序长度必须介于 0 和 11 之间")
	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	@Length(min = 0, max = 64, message = "备注长度必须介于 0 和 64 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Length(min = 0, max = 64, message = "column_5长度必须介于 0 和 64 之间")
	public String getColumn5() {
		return column5;
	}

	public void setColumn5(String column5) {
		this.column5 = column5;
	}

	public String getCheck() {
		return check;
	}

	public void setCheck(String check) {
		this.check = check;
	}

}